/**
 * @ClassName: staticRoutes
 * @Description: // 静态路由配置
 * @Author: Ellwood
 * @CreateDate: 2024/8/12 - 下午10:19
 * @Version: V1.0.0
 */
import {RouteRecordRaw} from "vue-router";

const staticRoutes = [
    {
        path: '/',
        name: 'index',
        redirect:'/admin/home',
        component: () => import('@/layout/admin.vue'),
        children:[
            {path:'/admin/home',name:'admin.home',component:()=>import('@/pages/admin/home.vue')},
        ]
    },
    {path: '/login', name: 'login', component: () => import('@/pages/admin/login.vue')},

    {path: '/:any(.*)', name: 'notFound', component: () => import('@/pages/error/404.vue')},
] as RouteRecordRaw[]

export default staticRoutes